package com.example.demo.metro.service;

import com.example.demo.R;
import com.example.demo.metro.dtovo.FeedBackDTO;
import com.example.demo.metro.dtovo.FeedBackDetailVO;
import com.example.demo.metro.entity.FeedBack;
import org.springframework.data.domain.Page;

public interface FeedBackService {

    R save(FeedBackDTO data);

    R update(FeedBackDTO data);

    FeedBackDetailVO getNoticeById(String id);

    void deleteByIds(String ids);

    Page<FeedBack> findDataList(String title, int currentPage, int pageSize);
}
